<template>
  <HelloWorld msg="Hello Vue 3 + Vite" />
  <Left v-if="isShow"></Left>
  <button @click="chang()">chang</button>
  <Father></Father>
  <TodoList></TodoList>
</template>

<script setup>

import {ref} from 'vue'
import HelloWorld from './components/HelloWorld.vue'
import Left from './components/Left.vue'
import Father from './components/Father.vue'
import TodoList from './components/TodoList.vue'

const isShow = ref(true)
function chang(){
	isShow.value = !isShow.value
}
// This starter template is using Vue 3 experimental <script setup> SFCs
// Check out https://github.com/vuejs/rfcs/blob/script-setup-2/active-rfcs/0000-script-setup.md
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
</style>